/* 版心 */
.w {
    width: 1200px;
    margin: 0 auto;
}

/* 快捷导航模块 */
.shortcut {
    height: 31px;
    line-height: 31px;
    background-color: #f1f1f1;
}

.shortcut ul li {
    float: left;
}

.left {
    float: left;
}

.style_red {
    color: #c81623;
}

.right {
    float: right;
}

/* 快捷导航模块竖线 */
.shortcut .right ul li:nth-child(even) {
    width: 1px;
    height: 12px;
    background-color: #666;
    margin: 9px 15px 0;
}

.icon {
    width: 10px;
    height: 10px;
    background-color: #f1f1f1;
}

/* header头部 */
.header .w{
    position: relative;
    height: 105px;
}

.logo {
    position: absolute;
    margin-top: 25px;
    width: 171px;
    height: 61px;
}

.logo a {
    /* 不用display：inline-block是因为它是对底线对齐，等下需要再写vertical-align: top;才能解决图片向下偏移问题 */
    display: block;
    width: 171px;
    height: 61px;
    background: url(../images/logo.png)no-repeat;
    /* 使品优购商场文字消失 */
    font-size: 0;
    
}

.search {
    position: absolute;
    left: 346px;
    top: 25px;
    width: 538px;
    height: 36px;
    border: 2px solid #b1191a;
}

.search input {
    /* 行内元素 */
    float: left;
    width: 454px;
    height: 32px;
    padding-left: 10px;
}

.search button {
    /* 行内元素 */
    float: right;
    width: 80px;
    height: 32px;
    background-color: #b1191b;
    font-size: 16px;
    color:#fff;
}

.hotwords {
    position: absolute;
    left: 346px;
    top: 65px;
}

.hotwords a {
    margin: 0 10px;
}

.shopcar {
    position: absolute;
    right: 60px;
    top: 25px;
    width: 140px;
    height: 34px;
    line-height: 34px;
    text-align: center;
    border: 1px solid #999;
    background-color: #f1f1f1;
    font-size: 14px;
}

/* iconfont第二种方法 */
/* 伪元素+购物车字体图标 */
.shopcar::before {
    font-family: iconfont;
    content: '';
    color: #b1191a;
}

/* iconfont第二种方法 */
/* 伪元素+>字体图标 */
.shopcar::after {
    font-family: iconfont;
    content: '';
}

.count {
    /* 子绝父绝 */
    position: absolute;
    /* 相对于shopcard来定位 */
    top:-5px;
    /* 这里写left比较好，right的话一旦数字增加会往左走 */
    left: 105px;
    height: 14px;
    /* 不写行高的话会继承父盒子shopcar行高34px，导致数字不在框里 */
    line-height: 14px;
    color: #fff;
    background-color: #c81623;
    /* 圆角的高度的一半 */
    border-radius: 7px 7px 7px 0;
    padding: 0 5px;
}

.nav {
    height: 45px;
    border-bottom: 1px solid #c81623;
}



.dt {
    width: 210px;
    height: 45px;
    line-height: 45px;
    text-align: center;
    font-size: 16px;
    background-color: #b1191a;
    color: #fff;
}

.dd {
    /* display: none; */
    /* 不加绝对定位的话，dd那个位置会被占掉导致下面布局全变乱了 */
    position: absolute;
    width: 210px;
    height: 465px;
}

.dd ul li a{
    display: block;
    height: 31px;
    line-height: 31px;
    font-size: 14px;
    background-color: #c81623;
    color: #fff;
    padding: 0 10px;
}

.dd ul li a:hover {
    background-color: #fff;
    color: #c81623;
}

.dd ul li ::after{
    float: right;
    font-family: iconfont;
    content: '';
}

.navitems {
    height: 45px;
    line-height: 45px;
}

.navitems a{
    padding: 0 25px;
    font-size: 16px;
}

.footer {
    padding-top: 30px;
    height: 415px;
    background-color: #f5f5f5;
}

.mod_service {
    height: 80px;
    border-bottom: 1px solid #ccc;
}

.mod_service ul li{
    float: left;
    width: 240px;
    height: 50px;
    /* background-color: aqua; */
    padding-left: 35px;
    
}

.mod_service ul li h5 {
    float: left;
    width: 50px;
    height: 50px;
    background-color: blueviolet;
    margin-right: 5px;
}

.mod_service ul li .icon_1 {
    background: url(../images/icons.png) no-repeat -252px -2px;
}

.mod_service ul li .icon_2 {
    background: url(../images/icons.png) no-repeat -255px -54px;
}

.mod_service ul li .icon_3 {
    background: url(../images/icons.png) no-repeat -256px -105px;
}

.mod_service ul li .icon_4 {
    background: url(../images/icons.png) no-repeat -258px -157px;
}

.mod_service ul li .icon_5 {
    background: url(../images/icons.png) no-repeat -258px -208px;
}

.service_txt {
    width: 205px;
    height: 50px;
}

.service_txt h4 {
    font-size: 16px;
}

.service_txt p{
    font-size: 12px;
}

.mod_help {
    height: 185px;
    border-bottom: 1px solid #ccc;
}

.mod_help dl {
    width: 200px;
    float: left;
    padding: 20px 50px 30px;
}

.mod_help dl:last-child {
    text-align: center;
}

.mod_help dl dt {
    margin-bottom: 6px;
    font-size: 14px;
}

.mod_help dl dd {
    font-size: 12px;
}

.mod_copyright {
    text-align: center;
}

.links {
    padding-top: 20px;
}

.links a {
    margin: 0 3px;
}

.mod_copyright .copyright {
    padding-top: 10px;
}